<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <title>Thymeleaf View</title>
    </head>
    <body>
        <table border="1">
            <tr>
                <th>ID</th>
                <th>Name</th>
                <th>Age</th>
                <th>Index</th>
                <th>Count</th>
                <th>Size</th>
                <th>Even</th>
                <th>Odd</th>
                <th>First</th>
                <th>Last</th>
            </tr>
            <tr th:each="u,var: ${list}">
                <td th:text="${u.userid}"></td>
                <td th:text="${u.username}"></td>
                <td th:text="${u.userage}"></td>
                <td th:text="${var.index}"></td>
                <td th:text="${var.count}"></td>
                <td th:text="${var.size}"></td>
                <td th:text="${var.even}"></td>
                <td th:text="${var.odd}"></td>
                <td th:text="${var.first}"></td>
                <td th:text="${var.last}"></td>
            </tr>
        </table>
    </body>
</html>